package model

import (
	"time"
)

type AuDealerCoupon struct {
	DcId           int       `xorm:"not null pk autoincr INT(10)"`
	DealerId       int       `xorm:"not null index INT(10)"`
	CouponId       int64     `xorm:"not null index BIGINT(20)"`
	CouponNo       string    `xorm:"not null VARCHAR(30)"`
	Amount         int       `xorm:"not null INT(10)"`
	Createtime     time.Time `xorm:"not null DATETIME"`
	StartDate      time.Time `xorm:"not null DATE"`
	EndDate        time.Time `xorm:"not null DATE"`
	CouponTypeId   int       `xorm:"not null INT(10)"`
	CouponTypeName string    `xorm:"not null VARCHAR(100)"`
	UseStatus      int       `xorm:"not null TINYINT(1)"`
}
